/* 后台管理页面的css样式 */
body {
    background: #f8f8f8;
    font-family: "Apple LiGothic Medium,Microsoft YaHei", "微软雅黑", "Arial", sans-serif;
    font-size: 14px;
    color: #4e4e4e;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    line-height: 1.8em;
    position: relative;
    min-height: 100vh;
}

body::after {
    content: '';
    height: 60px; /* .footer 的高度 */
    display: block;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    border-radius: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(196, 196, 196, 0.7);
}


/* --- 头部样式 --- */
.header {
    width: 100%;
    height: 60px;
    position: relative; /* --- 相对定位 --- */
    background-color: #227eaa;
    z-index: 1000; /* --- 层级, 滑动固定作用 --- */
    margin-bottom: 15px; /* --- 下边距 --- */
}

.header * { /* 字体颜色 */
    color: #FFF !important;
}

.header .logopic img { /* 图标样式 */
    display: inline-block; /* 行内快 */
    width: 50px;
}

.header .title {
    display: inline-block;
    padding: 16px 10px;
}

/*  清除导航原背景颜色  */
.header .layui-nav {
    background: none;
}

/*  导航项鼠标悬停颜色  */
.layui-nav .layui-nav-item a:hover {
    color: #12caea !important;
}

/* ------------ layui重写 ------------ */
@media screen and (min-width: 1400px) {
    .layui-container {
        width: 1170px !important;
    }
}

/* --- 底部样式 --- */
.footer {
    width: 100%;
    height: 25px;
    padding: 16px 0;
    color: #FFF;
    background-color: #227eaa;
    text-align: center;
    margin-top: 15px;
    position: absolute;
    bottom: 0;
}

/* 头像样式 */
.header_avata img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* 导航栏样式 */
.header_avata dl,dd{
    border-radius: 8px;
    border: 1px solid #227eaa;
    color: #1f1f1f !important;
    background-color: #227eaa !important;
}

.header .layui-nav .header_avata dl a:hover {
    background-color: #227eaa;
}